﻿Public Class main

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.Visible = False
        magentoData.ShowDialog()
        Me.Close()

    End Sub

    Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
        MessageBox.Show("Project by Piotr Kula. http://magentobridge.kula.org.uk This version is Freeware. Cannot be sold or used commercially with out agreement from Piotr,J ,Kula. All rights reserved.")
    End Sub
   
    Private Sub BTN_Offline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BTN_Offline.Click
        Me.Visible = False
        offline_edit.Show()
        'Me.Close()
        Me.Visible = False

    End Sub

    Public Sub reloadOffline()

        offline_edit.Close()
        offline_edit.Show()
        offline_edit.externalReload()
        Me.Visible = False
    End Sub


   
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Pictures.Show()
    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        PictureUploader.Show()
    End Sub

    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        Dim setting As New settingsForm
        setting.Show()
    End Sub

    
    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        quickBooksForm.Show()
    End Sub

   
End Class
